package com.dzl.exchange.service;


import com.dzl.base.service.BaseService;
import com.dzl.exchange.pojo.WelfareExchangeMealGoods;
import com.dzl.exchange.pojo.vo.ExchangeSkuGoodsVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * 兑换券套餐商品表(WelfareExchangeMealGoods)表服务接口
 * @author caobucao
 * @date 2021-07-09 17:30:08
 */
public interface WelfareExchangeMealGoodsService extends BaseService<WelfareExchangeMealGoods> {


    /**
     * 修改兑换券商品展示价
     * @param exchangeGoodsId 兑换券商品表主键id
     * @param displayPrice 兑换券商品展示价格
     * @author liuguanjun
     * @date 2021/12/06 11:04
     */
    Integer updateExchangeGoodsDisplayPrice(Integer exchangeGoodsId, BigDecimal displayPrice);

    /**
     * 删除所有选中套餐的商品数据
     * @date 2021/7/10 19:25
     * @author caobucao
     * @param mealIds  套餐ids
     * @return java.lang.Integer
     */
    Integer deleteByMealIds(List<Integer> mealIds);

    /**
     * 根据套餐id查询商品规格列表
     * @param mealId 套餐id
     * @author liuguanjun
     * @date 2021/12/02 11:56
     */
    List<ExchangeSkuGoodsVo> selectExchangeSkuGoodsVoByMealId(Integer mealId);

}
